package cn.yujiago.miaosha.redis;

public class UserKey extends BasePrefix {

    private UserKey(String prefix) {
        super(prefix);
    }
    private UserKey(int expireSeconds, String prefix) {
        super(expireSeconds, prefix);
    }

    public static UserKey getById = new UserKey(60*60*24, "id");
    public static UserKey getByName = new UserKey(60*60*24,"name");

}
